package com.story.aistory.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hui
 * @since 2025-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("users")
@ApiModel(value="Users对象", description="")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户的openid")
    @TableField("openid")
    private String openid;

    @ApiModelProperty(value = "昵称")
    @TableField("nickname")
    private String nickname;

    @ApiModelProperty(value = "个性签名")
    @TableField("signature")
    private String signature;

    @ApiModelProperty(value = "性别 男0女1")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "头像url")
    @TableField("avatar_url")
    private String avatarUrl;

    @ApiModelProperty(value = "图片数量")
    @TableField("pic_num")
    private Integer picNum;

    @ApiModelProperty(value = "阅读数量")
    @TableField("read_num")
    private Integer readNum;

    @ApiModelProperty(value = "点赞数量")
    @TableField("like_num")
    private Integer likeNum;

    @ApiModelProperty(value = "等级")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "是否公开----1公开 0私密")
    @TableField("open")
    private Integer open;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("fans")
    private Integer fans;

    @TableField("phone")
    private String phone;


}
